import { MonsterType } from "js/typeDefine/typeDefine";

export default {
    baseAttri: {
        attackSpeed: [50, 0.1],
        maxHp: [2, 2, 0.30],
        attack: [1, 1, 0.1],
        puncture: [0, 1, 0.1],
        def: [0, 1, 0.3],
        hit: [0, 0.1, 0],
        dodge: [0, 0.1, 0],
        crit: [5, 0.1, 0],
        critHurt: [50, 0.1, 0]
        // critHurt: [50, 0.5, 0]
    },
    fantasyAttri: {
        attackSpeed: [50, 20],
        maxHp: [10, 20, 0.2],
        attack: [10, 25, 0.1],
        def: [0, 50, 0.1],
        hit: [0, 1.5],
        dodge: [0, 0.3],
        crit: [5, 0.3],
        critHurt: [50, 0.5]
    },
    //随等级部分属性值(生命,护甲,穿透,攻击)倍增 31级开始提升1.5倍 41级2倍 51级2.5倍 以此类推
    beginLvl: 30,
    multiple: [1.3, 0.3],
    multipleMax: 4,//最高倍数
    monsterTypeCoeOfLowLvl: {
        [MonsterType.Normal]: {
            maxHp: 1,
            other: 1,
        },
        [MonsterType.Elite]: {
            maxHp: 1.5,
            other: 1.1,
        },
        [MonsterType.Lord]: {
            maxHp: 1.7,
            other: 1.2,
        },
        [MonsterType.Boss]: {
            maxHp: 2,
            other: 1.3,
        },
        [MonsterType.FantasyMonster]: {
            maxHp: 1,
            other: 1,
        },
        [MonsterType.FantasyBoss]: {
            maxHp: 2,
            other: 1.3,
        }
    },
    lowLvl: 20,//20级前采用低倍率,降低前期难度
    monsterTypeCoe: {
        [MonsterType.Normal]: {
            maxHp: 1,
            other: 1,
        },
        [MonsterType.Elite]: {
            maxHp: 3,
            other: 1.2,
        },
        [MonsterType.Lord]: {
            maxHp: 5,
            other: 1.3,
        },
        [MonsterType.Boss]: {
            maxHp: 10,
            other: 1.5,
        },
        [MonsterType.FantasyMonster]: {
            maxHp: 1,
            other: 1,
        },
        [MonsterType.FantasyBoss]: {
            maxHp: 10,
            other: 1.5,
        }
    },
}